<template>
	<div class="pie-wrap">
		<div style="height: 50px"  v-if="config.showTitle">
			<title-common :config="config"></title-common>
		</div>
		<map-component :chart-config="chartConfig" :screen-config="screenConfig" :drill-down-value="drillDownValue"></map-component>
	</div>
</template>

<script>
import TitleCommon from "@/views/modules/preview/components/common/title-common.vue";
import MapComponent from "@/views/modules/preview/components/common/map-component.vue";

/**
 * 地图组件渲染
 */
export default {
	name: "map-view",
	components:{
        TitleCommon,
		MapComponent
	},
	props:["config","screenConfig","drillDownValue"],
	data() {
		return {
			chartConfig:this.config
		}
	},
	methods: {
	},
	watch: {}
}
</script>

<style scoped>
.pie-wrap {
	width: 100%;
	height: 100%;
}
</style>
